package FactoryMethod

class ComplexServiceFactory : IServiceFactory {
    override fun CreateInstance(): IService {
        // Reading parameters from config files
        val parameter1 = 0
        val parameter2 = 0

        return ComplexService(parameter1, parameter2)
    }
}